package com.xingfly.school.student.acl.ports.clients;

import com.xingfly.school.student.acl.pl.response.CourseResponse;

import java.util.List;

/**
 * Created by SuperS on 2020/3/30.
 *
 * @author SuperS
 */
public interface CourseClient {
    /**
     * 批量查询课程信息
     *
     * @param ids id集合
     * @return 课程信息
     */
    List<CourseResponse> findAllById(List<Long> ids);

    /**
     * 根据ID查询课程信息
     *
     * @param courseId 课程ID
     * @return 课程信息
     */
    CourseResponse findById(Long courseId);

}
